package com.dk.service;

import com.dk.page.PageResult;
import com.dk.pojo.Location;

import java.util.List;

public interface LocationService {
    void insertlocation(Location location);

    void deleteById(Integer id);

    void deleteAllById(List<String> ids);

    PageResult<Location> getAlllocation(Integer pageNum, Integer pageSize);

    List<Location> getlocationByName(String name);

    Location getById(Integer id);

    void updatelocation(Location location);
}
